package com.yx.gsyd.controller.app;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yx.gsyd.entity.SysConfig;
import com.yx.gsyd.entity.SysJydz;
import com.yx.gsyd.service.ISysJydzService;
import com.yx.gsyd.util.ResultView;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author author
 * @since 2024-06-29
 */
@RestController
@RequestMapping("/api/front/sys-jydz")
public class AppSysJydzController {


    @Autowired
    private ISysJydzService iSysJydzService;


    /**
     * 获取配置内容
     */
    @GetMapping(value = "/getselectJydz")
    public ResultView getselectJydz() {
        List<SysJydz> sysJydzList=this.iSysJydzService.list(null);
        return ResultView.ok(sysJydzList);
    }



}
